package com.dong.exp_ioc.config;

import com.dong.exp_ioc.bean.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @className: StudentConfig
 * @description: TODO 类描述
 * @author: Dong
 * @date: 2022/10/11
 **/
@Configuration
public class StudentConfig {

    @Bean
    public Student getStudent(){
        return new Student();
    }
}
